package Day2025_04_11;

import java.util.Scanner;

public class Demo01 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        long num = in.nextLong();
        String s = num + "";
        int n = s.length();
        int tmp = 0;
        for (int i = 0; i < n; i++) {
            int ret = Integer.parseInt(s.charAt(i) + "");
            if (ret % 2 == 0) ret = 0;
            else ret = 1;
            tmp += ret * Math.pow(10, n - i - 1);
        }
        System.out.println(tmp);
    }
}
